﻿//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     Json序列化实体类库
//     交易序列化对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

using System.Collections.Generic;

namespace CL.Json.Entity.WebAPI
{
    /// <summary>
    /// TradingResult 对象
    /// 交易回调
    /// </summary>
    public class TradingResult : JsonResult
    {
        /// <summary>
        /// TradingEntity 对象
        /// </summary>
        public List<TradingEntity> Data { set; get; }
        /// <summary>
        /// 可用彩券总额
        /// </summary>
        public long CouponsMoney { set; get; }
        /// <summary>
        /// 可提现金额
        /// </summary>
        public long Withdraw { set; get; }
        /// <summary>
        /// 可用余额
        /// </summary>
        public long Balance { set; get; }
    }
    /// <summary>
    /// TradingEntity 对象
    /// 交易内容
    /// </summary>
    public class TradingEntity
    {
        public long UserCode { set; get; }
        /// <summary>
        /// 日期
        /// </summary>
        public string Time { set; get; }

        /// <summary>
        /// 交易金额
        /// </summary>
        public long Amount { set; get; }
        
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { set; get; }
    }
}
